###User Defined Function###
_SQLite_Close

###Description###
Close a SQLite database.

###Syntax###
#include <SQLite.au3>
_SQLite_Close ( [ $hDB ] )


###Parameters###
@@ParamTable@@
$hDB
	[optional] Database handle.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns $SQLITE_OK.
Failure:	Return value can be compared against $SQLITE_* constants.
@error:	-1 - SQLite reported an error (Check Return value)
	1 - Error calling SQLite API 'sqlite3_close'
	2 - Call prevented by SafeMode
@@End@@

###Remarks###
If no database handle is given, the last opened database will be closed.

###Related###
_SQLite_Open

###Example###
@@IncludeExample@@